package com.qf.smartplatform.event;

/*** @author Tgb
 * @version V1.0
 * @Project smartplatform
 * @Package com.qf.smartplatform.event
 * @Description:
 * @Date 2022/9/13 18:14
 */
public class DeviceStatusEvent {
    private String deviceId;
    private Status status;

    public DeviceStatusEvent(String deviceId, Status status) {
        this.deviceId = deviceId;
        this.status = status;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public Status getStatus() {
        return status;
    }

    public void setStatus(Status status) {
        this.status = status;
    }

    public static enum Status{
            ONLINE,OFFLINE;
    }
}
